<?php
class Profile_Article extends Profile {
	public function __construct($db, $articleid = null) {
		parent::__construct($db, 'articlesprofile');
		if($articleid > 0) {
			$this->setPostId($articleid);
		}
	}
	
	public function setArticleId($articleid) {
		$filters = array('articleid' => (int)$articleid);
		$this->_filters = $filters;
	}
}
?>